# frozen_string_literal: true
# == Schema Information
#
# Table name: idcards
#
#  id         :integer          not null, primary key
#  name       :string
#  gender     :string
#  nation     :string
#  photo      :string
#  birthday   :date
#  address    :string
#  code       :string
#  expired_at :date
#  created_at :datetime         not null
#  updated_at :datetime         not null
#  card_valid :boolean
#  started_at :date
#

class Idcard < ApplicationRecord
  has_one :guest
  mount_uploader :photo, AvatarUploader
end
